package com.hkemmm.utils;

public class MyUtils {
    public static <T> T getInstence(Class<T> clazz){
        T t = null;

        try {
            t = clazz.newInstance();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }

        return t;
    }
}
